﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="MOCategory.aspx.cs" Inherits="ViewbyTProduct_MOCategory" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div>
    <br />
    <p style=" text-align:center;">MO号：<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><asp:RequiredFieldValidator 
            ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" 
            ControlToValidate="TextBox1" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>　　　　　<asp:Button 
            ID="Button1" runat="server" onclick="Button1_Click" Text="查　询" 
            ValidationGroup="VGroup1" />
        </p>
    <br />
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
        BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"
        CellSpacing="1" 
            DataKeyNames="ProductSN,RecordTime,ProductTypeID,UserID,ENAID,IsPass" 
            EmptyDataText="没有相关数据！" GridLines="None"
        OnPageIndexChanging="GridView1_PageIndexChanging" 
            OnSelectedIndexChanged="GridView1_SelectedIndexChanged" PageSize="20" 
            Width="100%">
        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
        <Columns>
            <asp:CommandField SelectText="详细" ShowSelectButton="True" />
            <asp:BoundField DataField="ProductSN" HeaderText="腔体序列号" />
            <asp:BoundField DataField="RecordTime" DataFormatString="{0:g}" HeaderText="测试时间" />
            <asp:BoundField DataField="ProductTypeID" HeaderText="产品类型" />
            <asp:BoundField DataField="UserID" HeaderText="测试员工号" />
            <asp:BoundField DataField="ENAID" HeaderText="矢网编号" />
            <asp:BoundField DataField="TestStep" HeaderText="测试阶段" />
            <asp:BoundField DataField="IsSwitch" HeaderText="是否用开关" />
            <asp:BoundField DataField="IsPAss" HeaderText="是否通过" />
        </Columns>
        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
    </asp:GridView>
        <br />
        <br />
        <br />
        <br />
    </div>
</asp:Content>

